package com.food.user.form;

import com.food.user.dto.CartReturnDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
@ApiModel("创建订单参数对象")
public class CreateOrderForm {
    @NotNull
    @ApiModelProperty("地址信息")
    private Long addressId;

    @ApiModelProperty("商品项")
    private CartReturnDto cartReturnDto;

}
